"use strict";
//1、 striing
let username;
username = "李四";
// console.log(username);
// username=12
//2、 numbor 
let userage = 20;
let subjectNumbor = 1000;
// console.log(subjectNumbor);
// 3、bool类型
let isShow;
isShow = true;
// isShow=123
// 4、 字面量创建  也就就是自己创建
let suNume;
suNume = 'web';
let color;
color = 'red';
// console.log(color);
// 5、 any
let p1;
p1 = "二大爷";
p1 = 123;
p1 = {};
p1 = [1, 2, 3];
let p2 = 123;
p2 = p1;
console.log("p2", p2);
// 6unknown  
let p3;
p3 = 123;
p3 = [];
let p4 = 123;
p4 = p3;
// enum
var add;
(function (add) {
    add[add["\u6210\u529F"] = 0] = "\u6210\u529F";
    add[add["\u5931\u8D25"] = 1] = "\u5931\u8D25";
    add[add["\u672A\u5B8C\u6210"] = 2] = "\u672A\u5B8C\u6210";
})(add || (add = {}));
console.log(add);
let code;
code = add.失败;
console.log(code);
